package com.pw.lit.service.impl;


import com.pw.lit.bean.Iplog;
import com.pw.lit.bean.IplogExample;
import com.pw.lit.mapper.IplogMapper;
import com.pw.lit.service.IplogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("iplogService")
public class IplogServiceImpl implements IplogService {

    @Autowired
    private IplogMapper iplogMapper;

    @Override
    public int countByExample(IplogExample example) {
        return iplogMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(IplogExample example) {
        return iplogMapper.deleteByExample(example);
    }

    @Override
    public int insert(Iplog record) {
        return iplogMapper.insert(record);
    }

    @Override
    public int insertSelective(Iplog record) {
        return iplogMapper.insertSelective(record);
    }

    @Override
    public List<Iplog> selectByExample(IplogExample example) {
        return iplogMapper.selectByExample(example);
    }

    @Override
    public int updateByExampleSelective(Iplog record, IplogExample example) {
        return iplogMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(Iplog record, IplogExample example) {
        return iplogMapper.updateByExample(record,example);
    }
}